WPIDE\App\Services\Database\Database D

Total Complexity 142
Dependencies 8
Dependents 1
Total lines 849
Lines of code 511
Logical lines of code 278
Comment lines 120
Methods 40
Properties 1

Methods 40

Method Rating Maintainability Complexity Lines of code
saveTableRow()
B
39 21 64
saveTableStructureRow()
B
46 20 30
updateColumnIndexes()
A
47 13 34
getTableRows()
S
44 6 44
isNumericColumn()
S
62 8 11
getColumnDefaultLength()
S
57 7 17
columnInputType()
S
59 6 15
deleteTableRows()
S
55 4 19
deleteTableStructureRows()
S
56 4 16
getColumnIndexKeyName()
S
59 4 14
getTableStructure()
S
51 2 30
getTableRow()
S
60 3 13
getColumnInfo()
S
63 3 11
getTableStructureRows()
S
57 2 16
getTableStructureRow()
S
65 3 9
getTableAutoIncrementKey()
S
63 3 10
query()
S
64 3 10
getTables()
S
61 2 13
getReadonlyColumns()
S
55 1 25
isTextColumn()
S
73 2 5
isNullableColumn()
S
79 2 3
isAutoIncrementColumn()
S
79 2 3
addTablePrimaryKey()
S
68 2 7
getTablePrimaryKey()
S
69 2 6
addTableIndex()
S
73 2 4
exportTable()
S
59 1 14
exportDatabase()
S
61 1 11
dropTable()
S
79 1 3
emptyTable()
S
70 1 6
exportTableStructure()
S
78 1 3
init()
S
74 1 5
dropTableIndex()
S
78 1 3
dropTablePrimaryKey()
S
79 1 3
createTable()
S
66 1 9
isBooleanColumn()
S
80 1 3
db()
S
82 1 3
isDateColumn()
S
80 1 3
isIntColumn()
S
79 1 3
getRestrictedRows()
S
65 1 10
isDateTimeColumn()
S
80 1 3